package com.maiworld.seller.controller;

import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.dubbo.config.annotation.Reference;
import com.maiworld.content.service.CountService;


@RestController
@RequestMapping("/count")
public class CountController {
	@Reference
	private CountService countService;
		
	@RequestMapping(value = "/information",method =RequestMethod.GET)
	public Map<String,Object> search(@RequestParam("status") String status ){
		return  countService.information(status);		
	}
}
